package com.xidian.domain.strategy.repository;

import com.xidian.domain.strategy.model.entity.StrategyAwardsEntity;

import java.util.List;
import java.util.Map;

public interface IStrategyRepository {
    List<StrategyAwardsEntity> queryStrategyAwardsList(Long strategyId);

    void storeStrategyAwardsProbabilityTable(Long strategyId, int size, Map<Integer, Integer> shuffleStrategyAwardsSearchProbabilityTable);

    int getProbabilityRange(Long strategyId);

    Integer getStrategyAwardsAssemble(Long strategyId, int probabilityRange);
}
